package com.zsrt.day20170405.homework;

public class juxing {
	public static void main(String[] args) {
		
		for(int i=1;i<=5;i++){
			System.out.print("*");
			for(int j=1;j<=5;j++){
				if(i==1||i==5){
					System.out.print("*");
				}else{
					System.out.print(" ");
				}
			}
			System.out.print("*");
			System.out.println();
		}
	}

}
